// 导入封装好的网络请求类工具
import request from '../../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);
//地层温度压力保存数据 
export const EditStratum = (form) => {
        return request({
            url: '/stratum/updateStratum',
            method: 'post',
            data: form
        })
    }
    //地层温度压力删除数据 /stratum/deleteStratum/${stratumid}
export const DeleteStratum = (stratumid) => {
        return request({
            url: `/stratum/deleteStratum/?stratumid=${stratumid}`,
            method: 'get'
        })
    }
    //地层温度压力查询数据 /mudProperty/FindMudPropertyByCondition
export const FindStratumByCondition = (wellQueryCondition) => {
        return request({
            url: '/stratum/listStratum',
            method: 'post',
            data: wellQueryCondition
        })
    }
    //压力新增数据 /well/insertOneWell
export const InsertStratum = (form) => {
    return request({
        url: "/stratum/insertStratum",
        method: "post",
        data: form
    })
}